/**
 * 订单详情-上传双签合同
 * Created by wzj on 2017/4/10.
 */


function JBSFrame_purchase_uploadContract(){
	JBSFrame.call(this);

	//初始化UI
	this.initUI = function(){
		//生成时间控件
		this.renderDatetimepicker();
		//控制钱币输入
		this.renderMoneyMask();

		//绑定表单提交
		$("#filterPurchase-button").on("click",function(evt){
			//验证

			//确定后
			this.confirm(null,"确定上传吗?",function(){
				//提交合同信息
				this.submit_data_contract()
			}.bind(this));

		}.bind(this));
	}

	//提交合同信息
	this.submit_data_contract = function(){
		console.log("submit")
	}

}

/*
 //body load
 --------------------------------------------------------------------*/
var esteel_purchase_uploadContract;
$(document).ready(function(e) {
	esteel_purchase_uploadContract = new JBSFrame_purchase_uploadContract();
	//初始化UI
	esteel_purchase_uploadContract.initUI()
});

